GetOffset
TheGetOffset
method returns the offset of the focused value.
ODULong GetOffset ();
- return value
- The offset (in bytes) of the read/write position from the beginning of the data stream in the focused value, expressed as an unsigned 32-bit value.
DISCUSSION
An offset of 0 means the beginning of the data stream corresponding to the focused value; an offset equal to the size returned by theGetSize
method means the end of the data stream.EXCEPTIONS
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the
kODErrUnfocusedStorageUnit
- The focus context of this storage-unit view is not a value.
FocusWithCursor
method of that storage unit.SEE ALSO
TheODStorageUnitView::GetSize
method (page 742).
TheODStorageUnitView::SetOffset
method (page 756).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help